package stringss;

public class car {
	
String color=" blue";
String model=" 2000";

public String toString(){
	return this. color.concat(model);
}

public static void main(String[] args){
		
	
	car s1= new car();
	car s2= new car();
	//s1.color;
	s2.color="red";
	System.out.println("cancatination is " +s1.toString() +"\n" +s2);
	
	
}
}

